﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DcsGauges.Gui.Rendering;
using DcsGauges.Gui.Gauges.Panels;
using DcsGauges.DataStructures;
using Microsoft.Xna.Framework.Graphics;

namespace DcsGauges.Gui.Views.Concrete
{
    class AdiHsiView : View
    {
        
        #region Fields / Properties

        protected AdiHsiPanel adiHsiPanel                     = null;
        public AdiHsiPanel AdiHisPanel
        {
            get { return this.adiHsiPanel; }
        }

        #endregion

        public AdiHsiView(GraphicsDevice device)
        {
            this.adiHsiPanel                        = new AdiHsiPanel(this, URect.Full, device);
        }

        public override void Render(SpriteBatch spriteBatch, GraphicsDevice device, Microsoft.Xna.Framework.Rectangle parentRect, float globalZIndex)
        {
            this.adiHsiPanel.Render(spriteBatch, device, parentRect, globalZIndex);
        }
    }
}
